﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Kelper.Domain.Models;

namespace Kelper.ViewModels
{
    public class UserViewModel : PagingInfo
    {
        [Required(ErrorMessage = "*")]
        public string Username { get; set; }

        [Required(ErrorMessage = "*")]
        [DataType(DataType.Password)]
        public string Password { get; set; }

        public IEnumerable<Recipe> Recipes { get; set; }
    }
}